package com.wx.mall.operate.service;

import com.wx.mall.operate.dto.RebDisDto;
import com.wx.mall.operate.dto.RebateDto;
import com.wx.mall.operate.dto.RebateSaveDto;
import com.wx.mall.operate.entity.*;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wx.mall.operate.vo.RebToDisVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author j
 * @since 2020-06-01
 */
public interface IRebateService extends IService<Rebate> {
    //分页查询
    List<Rebate> findAllRebate(RebateDto dto);
    //筛选查询
    List<Rebate> findScreenList(RebateDto dto);
    //根据id查询显示一条
    int findDisList(RebDisDto dto);
    //添加满减
    int saveRebate(List<RebDiscount> rebDiscounts, RebateSaveDto dto, List<Long> ids,
                   List<RebGoods> rebGoods, List<RebBrand> rebBras);
    //删除列表信息
    int deleteRebate(Long ids);
}
